import Vue from 'vue'
import Router from 'vue-router'
import AntvG2 from '@/pages/antv/AntvG2'
import AntvG2Cy from '@/pages/antv/AntvG2Cy'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'AntvG2',
    component: AntvG2
  }, {
    path: '/g2cy',
    name: 'AntvG2Cy',
    component: AntvG2Cy
  }],
  mode: 'history'    //去掉#符号
})
